//
//  LLHttpTool.h
//  Weibo
//
//  Created by 李灵斌 on 15-2-6.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LLHttpTool : NSObject

+ (void)GET:(NSString *)UrlStr parameters:(id)parameters success:(void(^)(id response))success failure:(void(^)(NSError *error))failure;

+ (void)POST:(NSString *)UrlStr parameters:(id)parameters success:(void(^)(id response))success failure:(void(^)(NSError *error))failure;

+ (void)POST:(NSString *)UrlStr parameters:(id)parameters bodyBlock:(void(^)(id<AFMultipartFormData> formData))bodyBlock success:(void(^)(id response))success failure:(void(^)(NSError *error))failure;

@end
